package com.jml.观察者模式.五期.observer;


public class UserObServer implements ObServer {
    private String name;

    public UserObServer(String name) {
        this.name = name;
    }

    public void update(String message) {
        System.out.println(name + ",老师收到微信服务通知的消息:" + message);
    }
}
